/*--------------------------------------------------------------------------
 * Copyright (c) 2019-2021, Postgres.ai, Nikolay Samokhvalov nik@postgres.ai
 * All Rights Reserved. Proprietary and confidential.
 * Unauthorized copying of this file, via any medium is strictly prohibited
 *--------------------------------------------------------------------------
 */

@import '@postgres.ai/shared/styles/vars';

.root {
  &.ok {
    color: $color-status-ok;
  }

  &.warning {
    color: $color-status-warning;
  }

  &.error {
    color: $color-status-error;
  }

  &.waiting {
    color: $color-status-waiting;
  }

  &.unknown {
    color: $color-status-unknown;
  }
}

.iconContainer {
  display: inline-block;
  margin-right: 0.5em;
  width: 0.8em;
  position: relative;
}

.icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
